import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store/index.js'
import dataV from '@jiaminghi/data-view'
import ElementUI from 'element-ui' // element-ui的全部组件
import 'element-ui/lib/theme-chalk/index.css'// element-ui的css
import './assets/css/index.css' // 全局导入CSS
import './permission.js'
import * as echarts from 'echarts' // 引入echarts

Vue.use(ElementUI, { size: 'mini' }) // 使用elementUI

Vue.config.productionTip = false
Vue.prototype.$echarts = echarts // 注册组件
Vue.use(dataV)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
